# -*- encoding: utf-8 -*-
'''
@File    :   setting.py
@Time    :   2025-10-30 16:44:20
@Author  :   simon
@Version :   1.0
@Contact :   yonglonggeng@163.com
@License :   (C)Copyright 1994-2024, Liugroup-NLPR-CASIA
@Desc    :   项目配置文件
@WeChat  :   Herbert·Simon
'''
from pymongo import MongoClient

# MongoDB 连接
# client_minio = MongoClient("mongodb://192.168.0.91:27017/")
client_mongo = MongoClient("mongodb://simon:BWOYO0R7oDt40y0shH6t@47.107.47.84:27017/")
mongo_db=client_mongo['simonadmin']

# 返回题格式
class ResponseModel():
    code: int
    msg: str
    data: dict = {}
response_model = ResponseModel()

